
<div id='breadcrumb'>
  <a href='/store' title='首页'>首页</a>>
  <a href='/articles' title='最新消息'>最新消息</a>>
  <%= @article.title %>
</div>

<div class="news_detail">
  <h3><%= @article.title %></h3>
  <%= image_tag url_for_file_column(@article, "image_url","thumb"),:class=>'news' if @article.image_url %>
  <span class="news_content">
    <%= truncate(@article.content,300) %>
  </span>
</div>


<% if admin? %>
  <div class="toolbar">
    <label>文章类型:</label>
    <%=format_article_type @article.article_type %> |
    <%= link_to '编辑', edit_article_path(@article),:class=>'action_edit' %> |
    <%= link_to '返回列表', articles_path,:class=>'action_back' %>
  </div>
<%  end %>

